<!-- 用户信息 -->
<div class="user-box">
  <div class="user-info">
    <img class="inlinebox user-info-img" [src]="tagData?.data?.userInfo?.logo"
      onerror="this.src='assets/img/headtrait.png';" />
    <!-- 名称 号码 -->
    <div class="inlinebox vermiddle">
      <div class="user-tx" [innerHTML]="tagData?.data?.userInfo?.name"></div>
      <span class="user-tx" [innerHTML]="tagData?.data?.userInfo?.phone"></span>
    </div>
  </div>
  <div *ngIf="!userData" class="user-btn"
    appDebounceClick (debounceClick)="userSubmit(tagData?.data?.userInfo?.submit?.id, tagData?.data?.userInfo?.submit?.content)"
    [innerHTML]="tagData?.data?.userInfo?.submit?.label"></div>
  <div *ngIf="userData">
    <!-- 在线聊 -->
    <div class="user-btn3" appDebounceClick (debounceClick)="chat(tagData?.data?.onlineChat?.link, tagData?.data?.onlineChat?.loginPage)">
      {{userData?.text1}}</div>
    <!-- 打电话 -->
    <div class="user-btn2" appDebounceClick (debounceClick)="call(userData?.phone)">{{userData?.text2}}</div>
  </div>
</div>